package com.sc.VenusQueryBeta.presenter.detail;

import com.sc.VenusQueryBeta.contract.detail.AboutUsContract;
import com.sc.VenusQueryBeta.model.detail.AboutUsModel;

/**
 * Created by Administrator on 26/9/2018.
 * 注册presenter
 */


public class AboutUsPresenter extends AboutUsContract.AboutUsPresenter {
    public static AboutUsPresenter newInstance() {
        return new AboutUsPresenter();
    }

    @Override
    public void loadDailyDetail(String id) {
        if (mIModel == null) {
            return;
        } else {
            mIView.showDailyDetail(mIModel.getList());
        }
    }

    @Override
    protected AboutUsContract.IAboutUsModel getModel() {
        return AboutUsModel.newInstance();
    }

    @Override
    public void onStart() {

    }
}
